package com.glm.wwii.battleships.enemy;

import java.util.Stack;

import org.andengine.entity.sprite.Sprite;
import org.andengine.opengl.texture.region.ITextureRegion;
import org.andengine.opengl.vbo.VertexBufferObjectManager;

import com.glm.wwii.battleships.defence.Const.ConstValue;

public class Corvet  extends Sprite {

	
	private Stack mStack;
  private Sprite mCorvet; 
  
	/**
	 * iPower=Definisce la vita
	 * iShield=Resistenza agli attacchi
	 * iSpeed=Velocita' di movimento
	 * */
	private int iPower=ConstValue.I_CORVET_POWER, iShield=ConstValue.I_CORVET_SHIELD,iSpeed=ConstValue.I_CORVET_SPEED;
	
	/**Definisce la coordinata sullo schermo*/
	private float X;
	private float Y;
	private boolean Visible=false;
	/**descrizione e nome*/
	private String Name;
	private String Description;
	
   
  /**
	 * @param pX
	 * @param pY
	 * @param pTextureRegion
	 * @param vertexBufferObjectManager
	 */
	public Corvet(int weight, float pX, float pY, ITextureRegion pTextureRegion,
			VertexBufferObjectManager pVertexBufferObjectManager) {
		super(pX, pY, pTextureRegion, pVertexBufferObjectManager);
		
	} 
	
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return int the iPower
	 */
	public  int getiPower() {
		return iPower;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param iPower the iPower to set type int
	 */
	public  void setiPower(int iPower) {
		this.iPower = iPower;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return int the iShield
	 */
	public  int getiShield() {
		return iShield;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param iShield the iShield to set type int
	 */
	public  void setiShield(int iShield) {
		this.iShield = iShield;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return int the iSpeed
	 */
	public  int getiSpeed() {
		return iSpeed;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param iSpeed the iSpeed to set type int
	 */
	public  void setiSpeed(int iSpeed) {
		this.iSpeed = iSpeed;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return float the x
	 */
	public  float getX() {
		return X;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param x the x to set type float
	 */
	public  void setX(float x) {
		X = x;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return float the y
	 */
	public  float getY() {
		return Y;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param y the y to set type float
	 */
	public  void setY(float y) {
		Y = y;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return boolean the visible
	 */
	public  boolean isVisible() {
		return Visible;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param visible the visible to set type boolean
	 */
	public  void setVisible(boolean visible) {
		Visible = visible;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return String the name
	 */
	public  String getName() {
		return Name;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param name the name to set type String
	 */
	public  void setName(String name) {
		Name = name;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return String the description
	 */
	public  String getDescription() {
		return Description;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param description the description to set type String
	 */
	public  void setDescription(String description) {
		Description = description;
	}

	/**
	 * Corvet.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 27/ago/2012
	 * @return Stack the mStack
	 */
	public  Stack getmStack() {
		return mStack;
	}
	/**
	 * Corvet.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 27/ago/2012
	 * @param mStack the mStack to set type Stack
	 */
	public  void setmStack(Stack mStack) {
		this.mStack = mStack;
	}
	/**
	 * Corvet.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 27/ago/2012
	 * @return Sprite the mTower
	 */
	public  Sprite getmCorvet() {
		return mCorvet;
	}
	/**
	 * Corvet.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 27/ago/2012
	 * @param mTower the mTower to set type Sprite
	 */
	public  void setmTower(Sprite mCorvet) {
		this.mCorvet = mCorvet;
	}
	
	
}
